home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / pascal / tpfort12.zip / MAKEFILE < prev    next >
Text File  |  1989-11-19  |  891b  |  36 lines

  1. #   Just type "MAKE" or "MAKE Everything" to create the demo program.  It
  2. #   needs the TP 5.5 TPC compiler the MS Fortran 5 FL compiler and MS LINK on
  3. #   the current path.  For some reason I don't understand, this file doesn't
  4. #   work with Microsoft's NMAKE.
  5.  
  6. Everything:  psample.exe fsample.ldr
  7.     rem Type PSAMPLE to run demo
  8.  
  9. #   type "MAKE Clean" to clean up the directory after the demo
  10.  
  11. Clean:
  12.     erase psample.exe
  13.     erase fsample.tpu
  14.     erase fsample.ldr
  15.     erase fsample.obj
  16.  
  17. #   Generic rules
  18.  
  19. #   Use environment variables PASOPTS and FORTOPTS to set compiler options.
  20.  
  21. .for.ldr:
  22.     FL $(FORTOPTS) /FPi87 $*.FOR calltp.obj /Fe$*.LDR /F 4000 /link $(LIBS)
  23.  
  24. .pas.exe:
  25.     tpc $(PASOPTS) $< /M
  26.  
  27. .pas.tpu:
  28.     tpc $(PASOPTS) $< /M
  29.  
  30. #  Dependencies
  31.  
  32. psample.exe:  psample.pas fsample.pas fortlink.tpu
  33.  
  34. fsample.ldr:  fsample.for calltp.obj
  35.  
  36.